package com.potevio.simulator.entity;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * @ClassName ChargeModelStateInfoMsg
 * @Description:
 * @Date 2021/5/11  17:17
 * @Author zyd
 */
@Component
public class ChargeModelStateInfoMsg0x34 {
    // 版本域
    public static String versionDomain;

    // 序列号域
    public static String serialNumberDomain;

    // 命令代码
    public static String commandCode;

    // 用户ID
    public static String userId;

    // 指令序号
    public static String instructionsNumber;

    public static String chargeGunNum;
    public static String chargeType;
    public static String executeOrgState;
    public static String chargeModelId;
    public static String batteryBMSCode;
    public static String chargeVoltage;
    public static String chargeCurrent;
    public static String outputPower;
    public static String chargeModelFaultCode;
    public static String chargeBatteryState;

    @Value("${message.chargeModelStateInfoMsg.version-domain}")
    public void setVersionDomain(String versionDomain) {
        ChargeModelStateInfoMsg0x34.versionDomain = versionDomain;
    }
    @Value("${message.chargeModelStateInfoMsg.serial-number-domain}")
    public void setSerialNumberDomain(String serialNumberDomain) {
        ChargeModelStateInfoMsg0x34.serialNumberDomain = serialNumberDomain;
    }
    @Value("${message.chargeModelStateInfoMsg.command-code}")
    public void setCommandCode(String commandCode) {
        ChargeModelStateInfoMsg0x34.commandCode = commandCode;
    }
    @Value("${message.chargeModelStateInfoMsg.user-id}")
    public void setUserId(String userId) {
        ChargeModelStateInfoMsg0x34.userId = userId;
    }
    @Value("${message.chargeModelStateInfoMsg.instructions-number}")
    public void setInstructionsNumber(String instructionsNumber) {
        ChargeModelStateInfoMsg0x34.instructionsNumber = instructionsNumber;
    }
    @Value("${message.chargeModelStateInfoMsg.charge-gun-num}")
    public void setChargeGunNum(String chargeGunNum) {
        ChargeModelStateInfoMsg0x34.chargeGunNum = chargeGunNum;
    }
    @Value("${message.chargeModelStateInfoMsg.charge-type}")
    public void setChargeType(String chargeType) {
        ChargeModelStateInfoMsg0x34.chargeType = chargeType;
    }
    @Value("${message.chargeModelStateInfoMsg.execute-org-state}")
    public void setExecuteOrgState(String executeOrgState) {
        ChargeModelStateInfoMsg0x34.executeOrgState = executeOrgState;
    }
    @Value("${message.chargeModelStateInfoMsg.charge-model-id}")
    public void setChargeModelId(String chargeModelId) {
        ChargeModelStateInfoMsg0x34.chargeModelId = chargeModelId;
    }
    @Value("${message.chargeModelStateInfoMsg.battery-BMS-code}")
    public void setBatteryBMSCode(String batteryBMSCode) {
        ChargeModelStateInfoMsg0x34.batteryBMSCode = batteryBMSCode;
    }
    @Value("${message.chargeModelStateInfoMsg.charge-voltage}")
    public void setChargeVoltage(String chargeVoltage) {
        ChargeModelStateInfoMsg0x34.chargeVoltage = chargeVoltage;
    }
    @Value("${message.chargeModelStateInfoMsg.charge-current}")
    public void setChargeCurrent(String chargeCurrent) {
        ChargeModelStateInfoMsg0x34.chargeCurrent = chargeCurrent;
    }
    @Value("${message.chargeModelStateInfoMsg.output-power}")
    public void setOutputPower(String outputPower) {
        ChargeModelStateInfoMsg0x34.outputPower = outputPower;
    }
    @Value("${message.chargeModelStateInfoMsg.charge-model-fault-code}")
    public void setChargeModelFaultCode(String chargeModelFaultCode) {
        ChargeModelStateInfoMsg0x34.chargeModelFaultCode = chargeModelFaultCode;
    }
    @Value("${message.chargeModelStateInfoMsg.charge-battery-state}")
    public void setChargeBattery(String chargeBatteryState) {
        ChargeModelStateInfoMsg0x34.chargeBatteryState = chargeBatteryState;
    }
}
